package com.game.majiang.algorithm.entity;

import lombok.Data;
@Data
public class Ranking implements Comparable<Ranking>{

	public int id;
	public String head;
	public String name;
	public int rankingData;//排行数据
	public int shoushu;
	
	@Override
	public int compareTo(Ranking o) {
		
		return  o.rankingData - this.rankingData;
	}
	
	
}
